package com.twu.biblioteca;

public class User {
    private final String email;
    private final String phoneNumber;
    private final String name;

    public User(String name, String email, String phoneNumber) {
        this.name = name;
        this.email= email;
        this.phoneNumber = phoneNumber;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Name: "+name+", | email: "+email+", | phone number: "+phoneNumber;
    }
}
